package com.gui.spring.ioc;

import org.springframework.core.io.DefaultResourceLoader;
import org.springframework.core.io.Resource;
import org.springframework.core.io.support.PathMatchingResourcePatternResolver;

public class PathMatchingResourcePatternResolverDemo {

    public static void main(String[] args) {
        PathMatchingResourcePatternResolver resolver = new PathMatchingResourcePatternResolver(new DefaultResourceLoader());
        Resource resource = resolver.getResource("classpath:ioc/beans.xml");
        System.out.println(resource);
    }
}
